package com.quanyan.ic.vendingMachine.remoting;

import com.quanyan.ic.vendingMachine.model.OrderPreparedResult;
import com.quanyan.ic.vendingMachine.model.ShoppingCartItem;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * Created by zhuo.shi on 2017/8/1.
 */
public interface OrderRemotingService {

    /**
     * 调用场馆小商品订单服务，预下单
     *
     * @param placeId              场馆id
     * @param vmNumber             售货机编号
     * @param shoppingCartItemList 购物清单
     * @return
     */
    OrderPreparedResult preOrder(Integer placeId, String vmNumber, List<ShoppingCartItem> shoppingCartItemList, HttpServletRequest request);
}
